.class public final Lcom/adwo/adsdk/X;
.super Ljava/lang/Object;
.source "SourceFile"


# direct methods
.method static constructor <clinit>()V
    .locals 4

    .prologue
    const/16 v3, 0x14

    const/4 v2, 0x1

    .line 16
    const/4 v0, 0x4

    new-array v0, v0, [B

    const/4 v1, 0x0

    aput-byte v3, v0, v1

    const/16 v1, 0xa

    aput-byte v1, v0, v2

    const/4 v1, 0x2

    aput-byte v2, v0, v1

    const/4 v1, 0x3

    .line 17
    aput-byte v3, v0, v1

    .line 16
    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 14
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private static a([BI)I
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 567
    add-int/lit8 v0, p1, 0x0

    aget-byte v0, p0, v0

    and-int/lit16 v0, v0, 0xff

    shl-int/lit8 v0, v0, 0x18

    add-int/lit8 v0, v0, 0x0

    .line 569
    add-int/lit8 v1, p1, 0x1

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x10

    add-int/2addr v0, v1

    .line 570
    add-int/lit8 v1, p1, 0x2

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x8

    add-int/2addr v0, v1

    .line 571
    add-int/lit8 v1, p1, 0x3

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x0

    add-int/2addr v0, v1

    .line 572
    return v0
.end method

.method protected static a([B)Lcom/adwo/adsdk/FSAd;
    .locals 8
    .parameter

    .prologue
    const/4 v2, 0x7

    const/4 v6, 0x1

    const/4 v7, 0x0

    .line 47
    new-instance v0, Lcom/adwo/adsdk/FSAd;

    invoke-direct {v0}, Lcom/adwo/adsdk/FSAd;-><init>()V

    .line 48
    array-length v1, p0

    if-ne v1, v6, :cond_b

    .line 49
    aget-byte v1, p0, v7

    const/16 v2, -0x1d

    if-ne v1, v2, :cond_1

    .line 51
    const-string v1, "Adwo SDK"

    const-string v2, "Adwo_Pid inexist"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 52
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_INEXIST_PID"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    .line 96
    :goto_0
    invoke-virtual {v0, v1}, Lcom/adwo/adsdk/FSAd;->setError(Lcom/adwo/adsdk/ErrorCode;)V

    .line 243
    :cond_0
    :goto_1
    return-object v0

    .line 55
    :cond_1
    aget-byte v1, p0, v7

    const/16 v2, -0x20

    if-ne v1, v2, :cond_2

    .line 56
    const-string v1, "Adwo SDK"

    const-string v2, "Server busy"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 57
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_SERVERBUSY"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto :goto_0

    .line 60
    :cond_2
    aget-byte v1, p0, v7

    const/16 v2, -0x1c

    if-ne v1, v2, :cond_3

    .line 61
    const-string v1, "Adwo SDK"

    const-string v2, "Adwo_Pid inactive"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 62
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_INACTIVATED_PID"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto :goto_0

    .line 65
    :cond_3
    aget-byte v1, p0, v7

    const/16 v2, -0x1f

    if-eq v1, v2, :cond_4

    aget-byte v1, p0, v7

    const/16 v2, -0x18

    if-ne v1, v2, :cond_5

    .line 66
    :cond_4
    const-string v1, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "No ad available: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    aget-byte v3, p0, v7

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 67
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_NOAD_IP"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto :goto_0

    .line 68
    :cond_5
    aget-byte v1, p0, v7

    const/16 v2, -0x17

    if-ne v1, v2, :cond_6

    .line 69
    const-string v1, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "No ad available: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    aget-byte v3, p0, v7

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 70
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_NOAD_LOWRANK"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 71
    :cond_6
    aget-byte v1, p0, v7

    const/16 v2, -0x19

    if-ne v1, v2, :cond_7

    .line 72
    const-string v1, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "No ad available: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    aget-byte v3, p0, v7

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 73
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_NOAD_IP"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 76
    :cond_7
    aget-byte v1, p0, v7

    const/16 v2, -0x1e

    if-ne v1, v2, :cond_8

    .line 77
    const-string v1, "Adwo SDK"

    const-string v2, "Unknown Error"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 78
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_UNKNOWN"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 81
    :cond_8
    aget-byte v1, p0, v7

    const/16 v2, -0x1a

    if-ne v1, v2, :cond_9

    .line 82
    const-string v1, "Adwo SDK"

    const-string v2, "Error in receiving data"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 83
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_INCOMM"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 86
    :cond_9
    aget-byte v1, p0, v7

    const/16 v2, -0x1b

    if-ne v1, v2, :cond_a

    .line 87
    const-string v1, "Adwo SDK"

    const-string v2, "Error in request data"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 88
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_REQDATA"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 92
    :cond_a
    const-string v1, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "Unknown Error "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    aget-byte v3, p0, v7

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 93
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "OTHER_ERROR"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 100
    :cond_b
    array-length v1, p0

    if-ge v1, v2, :cond_c

    .line 101
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_INCOMM"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    .line 102
    const-string v2, "Adwo SDK"

    const-string v3, "Error in receiving data"

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 103
    invoke-virtual {v0, v1}, Lcom/adwo/adsdk/FSAd;->setError(Lcom/adwo/adsdk/ErrorCode;)V

    goto/16 :goto_1

    .line 107
    :cond_c
    new-instance v0, Lcom/adwo/adsdk/FSAd;

    invoke-direct {v0}, Lcom/adwo/adsdk/FSAd;-><init>()V

    .line 110
    invoke-static {p0, v7}, Lcom/adwo/adsdk/X;->a([BI)I

    move-result v1

    .line 111
    iput v1, v0, Lcom/adwo/adsdk/FSAd;->a:I

    .line 112
    add-int/lit8 v1, v7, 0x4

    .line 114
    add-int/lit8 v1, v1, 0x1

    add-int/lit8 v1, v1, 0x1

    .line 116
    add-int/lit8 v1, v1, 0x1

    .line 117
    add-int/lit8 v1, v1, 0x1

    aget-byte v2, p0, v2

    const/16 v3, 0x8

    add-int/lit8 v1, v1, 0x1

    aget-byte v3, p0, v3

    invoke-static {v2, v3}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v2

    .line 119
    :try_start_0
    new-instance v3, Ljava/lang/String;

    const/16 v4, 0x9

    const-string v5, "UTF-8"

    invoke-direct {v3, p0, v4, v2, v5}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 120
    iput-object v3, v0, Lcom/adwo/adsdk/FSAd;->c:Ljava/lang/String;
    :try_end_0
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_1

    .line 121
    add-int/lit8 v1, v2, 0x9

    .line 126
    :goto_2
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    .line 127
    iput-byte v1, v0, Lcom/adwo/adsdk/FSAd;->e:B

    .line 130
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    const/16 v3, -0x5f

    if-ne v2, v3, :cond_d

    .line 131
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    int-to-short v1, v1

    .line 133
    if-eqz v1, :cond_e

    .line 134
    :try_start_1
    new-instance v3, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v3, p0, v2, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 135
    iput-object v3, v0, Lcom/adwo/adsdk/FSAd;->b:Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_2

    .line 136
    add-int/2addr v1, v2

    .line 144
    :cond_d
    :goto_3
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x5e

    if-ne v1, v3, :cond_19

    .line 145
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 147
    if-eqz v1, :cond_f

    .line 148
    :try_start_2
    new-instance v2, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v2, p0, v3, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 149
    iput-object v2, v0, Lcom/adwo/adsdk/FSAd;->d:Ljava/lang/String;
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_3

    .line 150
    add-int/2addr v1, v3

    .line 159
    :goto_4
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x5d

    if-ne v1, v3, :cond_18

    .line 160
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 163
    if-eqz v1, :cond_10

    .line 164
    :try_start_3
    new-instance v2, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v2, p0, v3, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 165
    iput-object v2, v0, Lcom/adwo/adsdk/FSAd;->g:Ljava/lang/String;
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_4

    .line 166
    add-int/2addr v1, v3

    .line 175
    :goto_5
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x5c

    if-ne v1, v3, :cond_17

    .line 176
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 178
    if-eqz v1, :cond_11

    .line 179
    :try_start_4
    new-instance v2, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v2, p0, v3, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 180
    iget-object v4, v0, Lcom/adwo/adsdk/FSAd;->f:Ljava/util/List;

    invoke-interface {v4, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_5

    .line 181
    add-int v2, v3, v1

    .line 186
    :goto_6
    if-le v1, v6, :cond_17

    .line 187
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 189
    if-eqz v1, :cond_16

    move v2, v7

    .line 190
    :goto_7
    if-lt v2, v1, :cond_12

    move v1, v3

    .line 204
    :goto_8
    array-length v2, p0

    if-ge v1, v2, :cond_0

    .line 209
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x5b

    if-ne v1, v3, :cond_15

    .line 210
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 212
    if-eqz v1, :cond_14

    move v2, v7

    .line 213
    :goto_9
    if-lt v2, v1, :cond_13

    move v1, v3

    .line 225
    :goto_a
    array-length v2, p0

    if-ge v1, v2, :cond_0

    .line 230
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x56

    if-ne v1, v3, :cond_0

    .line 231
    invoke-static {p0, v2}, Lcom/adwo/adsdk/X;->a([BI)I

    move-result v1

    .line 232
    add-int/lit8 v2, v2, 0x4

    .line 234
    if-eqz v1, :cond_0

    .line 235
    :try_start_5
    new-instance v3, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v3, p0, v2, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 236
    iput-object v3, v0, Lcom/adwo/adsdk/FSAd;->i:Ljava/lang/String;
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_0

    goto/16 :goto_1

    .line 239
    :catch_0
    move-exception v1

    .line 240
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_1

    .line 122
    :catch_1
    move-exception v2

    .line 123
    invoke-virtual {v2}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V

    goto/16 :goto_2

    .line 138
    :catch_2
    move-exception v1

    .line 139
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_e
    move v1, v2

    goto/16 :goto_3

    .line 152
    :catch_3
    move-exception v1

    .line 153
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_f
    move v1, v3

    goto/16 :goto_4

    .line 169
    :catch_4
    move-exception v1

    .line 170
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_10
    move v1, v3

    goto/16 :goto_5

    .line 183
    :catch_5
    move-exception v2

    .line 184
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    :cond_11
    move v2, v3

    goto :goto_6

    .line 191
    :cond_12
    add-int/lit8 v4, v3, 0x1

    :try_start_6
    aget-byte v3, p0, v3
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_8

    add-int/lit8 v5, v4, 0x1

    :try_start_7
    aget-byte v4, p0, v4

    invoke-static {v3, v4}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v3

    .line 192
    new-instance v4, Ljava/lang/String;

    .line 193
    const-string v6, "UTF-8"

    .line 192
    invoke-direct {v4, p0, v5, v3, v6}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 194
    iget-object v6, v0, Lcom/adwo/adsdk/FSAd;->f:Ljava/util/List;

    invoke-interface {v6, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_9

    .line 195
    add-int/2addr v3, v5

    .line 190
    add-int/lit8 v2, v2, 0x1

    goto :goto_7

    .line 214
    :cond_13
    add-int/lit8 v4, v3, 0x1

    :try_start_8
    aget-byte v3, p0, v3
    :try_end_8
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_7

    add-int/lit8 v5, v4, 0x1

    :try_start_9
    aget-byte v4, p0, v4

    invoke-static {v3, v4}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v3

    .line 215
    new-instance v4, Ljava/lang/String;

    const-string v6, "UTF-8"

    invoke-direct {v4, p0, v5, v3, v6}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 216
    iget-object v6, v0, Lcom/adwo/adsdk/FSAd;->h:Ljava/util/List;

    invoke-interface {v6, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_6

    .line 217
    add-int/2addr v3, v5

    .line 213
    add-int/lit8 v2, v2, 0x1

    goto :goto_9

    :catch_6
    move-exception v1

    move v1, v5

    goto :goto_a

    :catch_7
    move-exception v1

    move v1, v4

    goto/16 :goto_a

    .line 198
    :catch_8
    move-exception v1

    move v1, v4

    goto/16 :goto_8

    :catch_9
    move-exception v1

    move v1, v5

    goto/16 :goto_8

    :cond_14
    move v1, v3

    goto/16 :goto_a

    :cond_15
    move v1, v2

    goto/16 :goto_a

    :cond_16
    move v1, v3

    goto/16 :goto_8

    :cond_17
    move v1, v2

    goto/16 :goto_8

    :cond_18
    move v1, v2

    goto/16 :goto_5

    :cond_19
    move v1, v2

    goto/16 :goto_4
.end method

.method private static a(BB)S
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 20
    shl-int/lit8 v0, p0, 0x8

    and-int/lit16 v1, p1, 0xff

    or-int/2addr v0, v1

    int-to-short v0, v0

    return v0
.end method

.method public static a(BBBBBZ[BBS[B[B[BSSSBB[B[BZDDBS[Ljava/lang/Integer;S)[B
    .locals 2
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 679
    new-instance p12, Ljava/io/ByteArrayOutputStream;

    invoke-direct {p12}, Ljava/io/ByteArrayOutputStream;-><init>()V

    .line 680
    const/4 p13, 0x2

    new-array p13, p13, [B

    .line 682
    :try_start_0
    invoke-virtual {p12, p13}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 683
    move-object v0, p12

    move/from16 v1, p24

    invoke-virtual {v0, v1}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 685
    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 686
    invoke-virtual {p12, p1}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 687
    invoke-virtual {p12, p2}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 688
    invoke-virtual {p12, p3}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 689
    invoke-virtual {p12, p4}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 690
    if-eqz p5, :cond_0

    .line 691
    const/4 p0, 0x0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 697
    :goto_0
    invoke-virtual {p12, p6}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 705
    invoke-virtual {p12, p7}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 707
    invoke-static {p8}, Lcom/adwo/adsdk/X;->a(S)[B

    move-result-object p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 709
    if-eqz p9, :cond_1

    .line 710
    const/16 p0, 0x49

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 712
    array-length p0, p9

    int-to-byte p0, p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 713
    invoke-virtual {p12, p9}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 719
    :goto_1
    const/4 p0, 0x0

    invoke-static {p0}, Lcom/adwo/adsdk/X;->a(S)[B

    move-result-object p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 720
    const/4 p0, 0x0

    invoke-static {p0}, Lcom/adwo/adsdk/X;->a(S)[B

    move-result-object p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 722
    if-eqz p10, :cond_2

    .line 723
    const/16 p0, 0x4d

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 725
    array-length p0, p10

    int-to-byte p0, p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 726
    invoke-virtual {p12, p10}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 731
    :goto_2
    if-eqz p11, :cond_3

    .line 732
    const/16 p0, 0x42

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 734
    array-length p0, p11

    int-to-byte p0, p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 735
    invoke-virtual {p12, p11}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 740
    :goto_3
    invoke-static/range {p14 .. p14}, Lcom/adwo/adsdk/X;->a(S)[B

    move-result-object p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 741
    move-object v0, p12

    move/from16 v1, p15

    invoke-virtual {v0, v1}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 742
    move-object v0, p12

    move/from16 v1, p16

    invoke-virtual {v0, v1}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 745
    if-eqz p17, :cond_4

    .line 746
    const/16 p0, 0x4e

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 748
    move-object/from16 v0, p17

    array-length v0, v0

    move p0, v0

    int-to-byte p0, p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 749
    move-object v0, p12

    move-object/from16 v1, p17

    invoke-virtual {v0, v1}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 754
    :goto_4
    if-eqz p18, :cond_5

    .line 755
    const/16 p0, 0x50

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 757
    move-object/from16 v0, p18

    array-length v0, v0

    move p0, v0

    int-to-byte p0, p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 758
    move-object v0, p12

    move-object/from16 v1, p18

    invoke-virtual {v0, v1}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 764
    :goto_5
    if-eqz p19, :cond_6

    .line 765
    const/16 p0, 0x4c

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 766
    invoke-static/range {p20 .. p21}, Lcom/adwo/adsdk/X;->a(D)[B

    move-result-object p0

    .line 767
    const/16 p1, 0x10

    invoke-virtual {p12, p1}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 768
    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 769
    invoke-static/range {p22 .. p23}, Lcom/adwo/adsdk/X;->a(D)[B

    move-result-object p0

    .line 770
    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 777
    :goto_6
    invoke-static/range {p25 .. p25}, Lcom/adwo/adsdk/X;->a(S)[B

    move-result-object p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 778
    const/4 p0, 0x0

    :goto_7
    move v0, p0

    move/from16 v1, p25

    if-lt v0, v1, :cond_7

    .line 784
    invoke-static/range {p27 .. p27}, Lcom/adwo/adsdk/X;->a(S)[B

    move-result-object p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V

    .line 786
    sget p0, Lcom/adwo/adsdk/Y;->d:I

    invoke-static {p0}, Lcom/adwo/adsdk/X;->a(I)[B

    move-result-object p0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write([B)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 792
    :goto_8
    invoke-virtual {p12}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B

    move-result-object p0

    .line 793
    array-length p1, p0

    const/4 p2, 0x2

    sub-int/2addr p1, p2

    int-to-short p1, p1

    .line 794
    const/4 p2, 0x0

    const p3, 0xff00

    and-int/2addr p3, p1

    shr-int/lit8 p3, p3, 0x8

    int-to-byte p3, p3

    aput-byte p3, p0, p2

    .line 795
    const/4 p2, 0x1

    and-int/lit16 p1, p1, 0xff

    int-to-byte p1, p1

    aput-byte p1, p0, p2

    .line 797
    return-object p0

    .line 693
    :cond_0
    const/4 p0, 0x1

    :try_start_1
    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_0

    .line 787
    :catch_0
    move-exception p0

    .line 789
    invoke-virtual {p0}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_8

    .line 715
    :cond_1
    const/16 p0, 0x49

    :try_start_2
    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 716
    const/4 p0, 0x0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    goto/16 :goto_1

    .line 728
    :cond_2
    const/16 p0, 0x4d

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 729
    const/4 p0, 0x0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    goto/16 :goto_2

    .line 737
    :cond_3
    const/16 p0, 0x42

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 738
    const/4 p0, 0x0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    goto/16 :goto_3

    .line 751
    :cond_4
    const/16 p0, 0x4e

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 752
    const/4 p0, 0x0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    goto/16 :goto_4

    .line 760
    :cond_5
    const/16 p0, 0x50

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 761
    const/4 p0, 0x0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    goto/16 :goto_5

    .line 773
    :cond_6
    const/16 p0, 0x4c

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    .line 774
    const/4 p0, 0x0

    invoke-virtual {p12, p0}, Ljava/io/ByteArrayOutputStream;->write(I)V

    goto/16 :goto_6

    .line 779
    :cond_7
    aget-object p1, p26, p0

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    invoke-static {p1}, Lcom/adwo/adsdk/X;->a(I)[B

    move-result-object p1

    .line 781
    invoke-virtual {p12, p1}, Ljava/io/ByteArrayOutputStream;->write([B)V
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0

    .line 778
    add-int/lit8 p0, p0, 0x1

    goto/16 :goto_7
.end method

.method private static a(D)[B
    .locals 9
    .parameter

    .prologue
    const/16 v8, 0x8

    const-wide/16 v6, 0xff

    .line 580
    invoke-static {p0, p1}, Ljava/lang/Double;->doubleToLongBits(D)J

    move-result-wide v0

    .line 581
    new-array v2, v8, [B

    .line 582
    const/4 v3, 0x0

    const/16 v4, 0x38

    shr-long v4, v0, v4

    and-long/2addr v4, v6

    long-to-int v4, v4

    int-to-byte v4, v4

    aput-byte v4, v2, v3

    .line 583
    const/4 v3, 0x1

    const/16 v4, 0x30

    shr-long v4, v0, v4

    and-long/2addr v4, v6

    long-to-int v4, v4

    int-to-byte v4, v4

    aput-byte v4, v2, v3

    .line 584
    const/4 v3, 0x2

    const/16 v4, 0x28

    shr-long v4, v0, v4

    and-long/2addr v4, v6

    long-to-int v4, v4

    int-to-byte v4, v4

    aput-byte v4, v2, v3

    .line 585
    const/4 v3, 0x3

    const/16 v4, 0x20

    shr-long v4, v0, v4

    and-long/2addr v4, v6

    long-to-int v4, v4

    int-to-byte v4, v4

    aput-byte v4, v2, v3

    .line 586
    const/4 v3, 0x4

    const/16 v4, 0x18

    shr-long v4, v0, v4

    and-long/2addr v4, v6

    long-to-int v4, v4

    int-to-byte v4, v4

    aput-byte v4, v2, v3

    .line 587
    const/4 v3, 0x5

    const/16 v4, 0x10

    shr-long v4, v0, v4

    and-long/2addr v4, v6

    long-to-int v4, v4

    int-to-byte v4, v4

    aput-byte v4, v2, v3

    .line 588
    const/4 v3, 0x6

    shr-long v4, v0, v8

    and-long/2addr v4, v6

    long-to-int v4, v4

    int-to-byte v4, v4

    aput-byte v4, v2, v3

    .line 589
    const/4 v3, 0x7

    and-long/2addr v0, v6

    long-to-int v0, v0

    int-to-byte v0, v0

    aput-byte v0, v2, v3

    .line 590
    return-object v2
.end method

.method private static a(I)[B
    .locals 3
    .parameter

    .prologue
    .line 595
    const/4 v0, 0x4

    new-array v0, v0, [B

    .line 597
    const/4 v1, 0x0

    ushr-int/lit8 v2, p0, 0x18

    int-to-byte v2, v2

    aput-byte v2, v0, v1

    .line 598
    const/4 v1, 0x1

    ushr-int/lit8 v2, p0, 0x10

    int-to-byte v2, v2

    aput-byte v2, v0, v1

    .line 599
    const/4 v1, 0x2

    ushr-int/lit8 v2, p0, 0x8

    int-to-byte v2, v2

    aput-byte v2, v0, v1

    .line 600
    const/4 v1, 0x3

    int-to-byte v2, p0

    aput-byte v2, v0, v1

    .line 601
    return-object v0
.end method

.method private static a(S)[B
    .locals 3
    .parameter

    .prologue
    .line 576
    const/4 v0, 0x2

    new-array v0, v0, [B

    const/4 v1, 0x0

    const v2, 0xff00

    and-int/2addr v2, p0

    shr-int/lit8 v2, v2, 0x8

    int-to-byte v2, v2

    aput-byte v2, v0, v1

    const/4 v1, 0x1

    and-int/lit16 v2, p0, 0xff

    int-to-byte v2, v2

    aput-byte v2, v0, v1

    return-object v0
.end method

.method protected static b([B)Lcom/adwo/adsdk/k;
    .locals 9
    .parameter

    .prologue
    const/4 v2, 0x7

    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 247
    new-instance v0, Lcom/adwo/adsdk/k;

    invoke-direct {v0}, Lcom/adwo/adsdk/k;-><init>()V

    .line 248
    array-length v1, p0

    if-ne v1, v8, :cond_b

    .line 250
    aget-byte v1, p0, v7

    const/16 v2, -0x1d

    if-ne v1, v2, :cond_1

    .line 251
    const-string v1, "Adwo SDK"

    const-string v2, "Adwo_Pid inexist"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 252
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_INEXIST_PID"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    .line 296
    :goto_0
    iput-object v1, v0, Lcom/adwo/adsdk/k;->c:Lcom/adwo/adsdk/ErrorCode;

    .line 556
    :cond_0
    :goto_1
    return-object v0

    .line 255
    :cond_1
    aget-byte v1, p0, v7

    const/16 v2, -0x20

    if-ne v1, v2, :cond_2

    .line 256
    const-string v1, "Adwo SDK"

    const-string v2, "Server busy"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 257
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_SERVERBUSY"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto :goto_0

    .line 260
    :cond_2
    aget-byte v1, p0, v7

    const/16 v2, -0x1c

    if-ne v1, v2, :cond_3

    .line 261
    const-string v1, "Adwo SDK"

    const-string v2, "Adwo_Pid inactive"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 262
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_INACTIVATED_PID"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto :goto_0

    .line 265
    :cond_3
    aget-byte v1, p0, v7

    const/16 v2, -0x1f

    if-eq v1, v2, :cond_4

    aget-byte v1, p0, v7

    const/16 v2, -0x18

    if-ne v1, v2, :cond_5

    .line 266
    :cond_4
    const-string v1, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "No ad available: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    aget-byte v3, p0, v7

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 267
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_NOAD_IP"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto :goto_0

    .line 268
    :cond_5
    aget-byte v1, p0, v7

    const/16 v2, -0x17

    if-ne v1, v2, :cond_6

    .line 269
    const-string v1, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "No ad available: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    aget-byte v3, p0, v7

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 270
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_NOAD_LOWRANK"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 271
    :cond_6
    aget-byte v1, p0, v7

    const/16 v2, -0x19

    if-ne v1, v2, :cond_7

    .line 272
    const-string v1, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "No ad available: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    aget-byte v3, p0, v7

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 273
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_NOAD_IP"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 276
    :cond_7
    aget-byte v1, p0, v7

    const/16 v2, -0x1e

    if-ne v1, v2, :cond_8

    .line 277
    const-string v1, "Adwo SDK"

    const-string v2, "Unknown Error"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 278
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_UNKNOWN"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 281
    :cond_8
    aget-byte v1, p0, v7

    const/16 v2, -0x1a

    if-ne v1, v2, :cond_9

    .line 282
    const-string v1, "Adwo SDK"

    const-string v2, "Error in receiving data"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 283
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_INCOMM"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 286
    :cond_9
    aget-byte v1, p0, v7

    const/16 v2, -0x1b

    if-ne v1, v2, :cond_a

    .line 287
    const-string v1, "Adwo SDK"

    const-string v2, "Error in request data"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 288
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_REQDATA"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 292
    :cond_a
    const-string v1, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "Unknown Error "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    aget-byte v3, p0, v7

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 293
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "OTHER_ERROR"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    goto/16 :goto_0

    .line 300
    :cond_b
    array-length v1, p0

    if-ge v1, v2, :cond_c

    .line 301
    new-instance v1, Lcom/adwo/adsdk/ErrorCode;

    aget-byte v2, p0, v7

    const-string v3, "ERR_INCOMM"

    invoke-direct {v1, v2, v3}, Lcom/adwo/adsdk/ErrorCode;-><init>(ILjava/lang/String;)V

    .line 302
    const-string v2, "Adwo SDK"

    const-string v3, "Error in receiving data"

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 303
    iput-object v1, v0, Lcom/adwo/adsdk/k;->c:Lcom/adwo/adsdk/ErrorCode;

    goto/16 :goto_1

    .line 310
    :cond_c
    invoke-static {p0, v7}, Lcom/adwo/adsdk/X;->a([BI)I

    move-result v1

    .line 311
    iput v1, v0, Lcom/adwo/adsdk/k;->b:I

    .line 312
    add-int/lit8 v1, v7, 0x4

    .line 314
    add-int/lit8 v1, v1, 0x1

    add-int/lit8 v1, v1, 0x1

    .line 317
    add-int/lit8 v1, v1, 0x1

    .line 318
    add-int/lit8 v1, v1, 0x1

    aget-byte v2, p0, v2

    const/16 v3, 0x8

    add-int/lit8 v1, v1, 0x1

    aget-byte v3, p0, v3

    invoke-static {v2, v3}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v2

    .line 320
    :try_start_0
    new-instance v3, Ljava/lang/String;

    const/16 v4, 0x9

    const-string v5, "UTF-8"

    invoke-direct {v3, p0, v4, v2, v5}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 322
    iput-object v3, v0, Lcom/adwo/adsdk/k;->e:Ljava/lang/String;
    :try_end_0
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_2

    .line 323
    add-int/lit8 v1, v2, 0x9

    .line 329
    :goto_2
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    .line 330
    iput-byte v1, v0, Lcom/adwo/adsdk/k;->h:B

    .line 334
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    const/16 v3, -0x5f

    if-ne v2, v3, :cond_d

    .line 336
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    int-to-short v1, v1

    .line 339
    if-eqz v1, :cond_13

    .line 340
    :try_start_1
    new-instance v3, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v3, p0, v2, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 342
    iput-object v3, v0, Lcom/adwo/adsdk/k;->d:Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3

    .line 343
    add-int/2addr v1, v2

    .line 357
    :cond_d
    :goto_3
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x5e

    if-ne v1, v3, :cond_25

    .line 358
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 361
    if-eqz v1, :cond_14

    .line 362
    :try_start_2
    new-instance v2, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v2, p0, v3, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 363
    iput-object v2, v0, Lcom/adwo/adsdk/k;->f:Ljava/lang/String;
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_4

    .line 364
    add-int/2addr v1, v3

    .line 375
    :goto_4
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x5d

    if-ne v1, v3, :cond_24

    .line 376
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 378
    if-eqz v1, :cond_15

    .line 379
    :try_start_3
    new-instance v2, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v2, p0, v3, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 380
    iput-object v2, v0, Lcom/adwo/adsdk/k;->l:Ljava/lang/String;
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_5

    .line 381
    add-int/2addr v1, v3

    .line 391
    :goto_5
    array-length v2, p0

    if-ge v1, v2, :cond_0

    .line 395
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x5c

    if-ne v1, v3, :cond_23

    .line 397
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 399
    if-eqz v1, :cond_16

    .line 400
    :try_start_4
    new-instance v2, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v2, p0, v3, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 401
    iget-object v4, v0, Lcom/adwo/adsdk/k;->i:Ljava/util/List;

    invoke-interface {v4, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_6

    .line 403
    add-int v2, v3, v1

    .line 408
    :goto_6
    if-le v1, v8, :cond_23

    .line 409
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 411
    if-eqz v1, :cond_22

    move v2, v7

    .line 412
    :goto_7
    if-lt v2, v1, :cond_17

    move v1, v3

    .line 427
    :goto_8
    array-length v2, p0

    if-ge v1, v2, :cond_0

    .line 432
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x5b

    if-ne v1, v3, :cond_21

    .line 434
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v1

    .line 436
    if-eqz v1, :cond_20

    move v2, v7

    .line 437
    :goto_9
    if-lt v2, v1, :cond_18

    move v1, v3

    .line 450
    :goto_a
    :try_start_5
    array-length v2, p0
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_c

    if-ge v1, v2, :cond_0

    .line 453
    add-int/lit8 v2, v1, 0x1

    :try_start_6
    aget-byte v1, p0, v1
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_d

    const/16 v3, 0x4b

    if-ne v1, v3, :cond_1f

    .line 454
    add-int/lit8 v1, v2, 0x1

    :try_start_7
    aget-byte v2, p0, v2
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_c

    add-int/lit8 v3, v1, 0x1

    :try_start_8
    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S
    :try_end_8
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_e

    move-result v1

    .line 456
    if-eqz v1, :cond_1e

    .line 457
    :try_start_9
    new-array v2, v1, [B
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_f

    move v4, v3

    move v3, v7

    .line 458
    :goto_b
    :try_start_a
    array-length v5, v2

    if-lt v3, v5, :cond_19

    .line 461
    if-ne v1, v8, :cond_e

    .line 462
    const/4 v3, 0x0

    aget-byte v3, v2, v3

    if-ne v3, v8, :cond_e

    .line 463
    const/4 v3, 0x1

    iput-boolean v3, v0, Lcom/adwo/adsdk/k;->m:Z

    .line 466
    :cond_e
    const/4 v3, 0x2

    if-ne v1, v3, :cond_10

    .line 467
    const/4 v3, 0x0

    aget-byte v3, v2, v3

    if-ne v3, v8, :cond_f

    .line 468
    const/4 v3, 0x1

    iput-boolean v3, v0, Lcom/adwo/adsdk/k;->m:Z

    .line 471
    :cond_f
    const/4 v3, 0x1

    aget-byte v3, v2, v3

    if-ne v3, v8, :cond_10

    .line 472
    const/4 v3, 0x1

    iput-boolean v3, v0, Lcom/adwo/adsdk/k;->n:Z

    .line 475
    :cond_10
    const/4 v3, 0x3

    if-ne v1, v3, :cond_1d

    .line 476
    const/4 v1, 0x0

    aget-byte v1, v2, v1

    if-ne v1, v8, :cond_11

    .line 477
    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/adwo/adsdk/k;->m:Z

    .line 480
    :cond_11
    const/4 v1, 0x1

    aget-byte v1, v2, v1

    if-nez v1, :cond_12

    .line 481
    const/4 v1, 0x0

    iput-boolean v1, v0, Lcom/adwo/adsdk/k;->n:Z
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_a} :catch_10

    :cond_12
    move v1, v4

    .line 497
    :goto_c
    :try_start_b
    array-length v2, p0
    :try_end_b
    .catch Ljava/lang/Exception; {:try_start_b .. :try_end_b} :catch_7

    if-ge v1, v2, :cond_0

    .line 500
    add-int/lit8 v2, v1, 0x1

    :try_start_c
    aget-byte v1, p0, v1
    :try_end_c
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_c} :catch_8

    const/16 v3, -0x5a

    if-ne v1, v3, :cond_1c

    .line 501
    add-int/lit8 v1, v2, 0x1

    :try_start_d
    aget-byte v2, p0, v2
    :try_end_d
    .catch Ljava/lang/Exception; {:try_start_d .. :try_end_d} :catch_7

    add-int/lit8 v3, v1, 0x1

    :try_start_e
    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S
    :try_end_e
    .catch Ljava/lang/Exception; {:try_start_e .. :try_end_e} :catch_9

    move-result v1

    .line 503
    if-eqz v1, :cond_1b

    move v2, v7

    .line 504
    :goto_d
    if-lt v2, v1, :cond_1a

    move v1, v3

    .line 522
    :goto_e
    :try_start_f
    array-length v2, p0

    if-ge v1, v2, :cond_0

    .line 525
    add-int/lit8 v2, v1, 0x1

    aget-byte v1, p0, v1

    const/16 v3, -0x59

    if-ne v1, v3, :cond_0

    .line 526
    add-int/lit8 v1, v2, 0x1

    aget-byte v2, p0, v2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p0, v1

    invoke-static {v2, v1}, Lcom/adwo/adsdk/X;->a(BB)S
    :try_end_f
    .catch Ljava/lang/Exception; {:try_start_f .. :try_end_f} :catch_1

    move-result v1

    .line 528
    if-eqz v1, :cond_0

    .line 529
    :try_start_10
    new-instance v2, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v2, p0, v3, v1, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 530
    iput-object v2, v0, Lcom/adwo/adsdk/k;->g:Ljava/lang/String;
    :try_end_10
    .catch Ljava/lang/Exception; {:try_start_10 .. :try_end_10} :catch_0

    goto/16 :goto_1

    .line 534
    :catch_0
    move-exception v1

    .line 535
    :try_start_11
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_11
    .catch Ljava/lang/Exception; {:try_start_11 .. :try_end_11} :catch_1

    goto/16 :goto_1

    :catch_1
    move-exception v1

    goto/16 :goto_1

    .line 324
    :catch_2
    move-exception v2

    .line 326
    invoke-virtual {v2}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V

    goto/16 :goto_2

    .line 348
    :catch_3
    move-exception v1

    .line 350
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_13
    move v1, v2

    goto/16 :goto_3

    .line 367
    :catch_4
    move-exception v1

    .line 369
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_14
    move v1, v3

    goto/16 :goto_4

    .line 384
    :catch_5
    move-exception v1

    .line 386
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_15
    move v1, v3

    goto/16 :goto_5

    .line 405
    :catch_6
    move-exception v2

    .line 406
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    :cond_16
    move v2, v3

    goto/16 :goto_6

    .line 413
    :cond_17
    add-int/lit8 v4, v3, 0x1

    :try_start_12
    aget-byte v3, p0, v3
    :try_end_12
    .catch Ljava/lang/Exception; {:try_start_12 .. :try_end_12} :catch_14

    add-int/lit8 v5, v4, 0x1

    :try_start_13
    aget-byte v4, p0, v4

    invoke-static {v3, v4}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v3

    .line 414
    new-instance v4, Ljava/lang/String;

    .line 415
    const-string v6, "UTF-8"

    .line 414
    invoke-direct {v4, p0, v5, v3, v6}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 417
    iget-object v6, v0, Lcom/adwo/adsdk/k;->i:Ljava/util/List;

    invoke-interface {v6, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_13
    .catch Ljava/lang/Exception; {:try_start_13 .. :try_end_13} :catch_15

    .line 418
    add-int/2addr v3, v5

    .line 412
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_7

    .line 438
    :cond_18
    add-int/lit8 v4, v3, 0x1

    :try_start_14
    aget-byte v3, p0, v3
    :try_end_14
    .catch Ljava/lang/Exception; {:try_start_14 .. :try_end_14} :catch_13

    add-int/lit8 v5, v4, 0x1

    :try_start_15
    aget-byte v4, p0, v4

    invoke-static {v3, v4}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v3

    .line 439
    new-instance v4, Ljava/lang/String;

    const-string v6, "UTF-8"

    invoke-direct {v4, p0, v5, v3, v6}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 440
    iget-object v6, v0, Lcom/adwo/adsdk/k;->j:Ljava/util/List;

    invoke-interface {v6, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_15
    .catch Ljava/lang/Exception; {:try_start_15 .. :try_end_15} :catch_12

    .line 442
    add-int/2addr v3, v5

    .line 437
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_9

    .line 459
    :cond_19
    add-int/lit8 v5, v4, 0x1

    :try_start_16
    aget-byte v4, p0, v4

    aput-byte v4, v2, v3
    :try_end_16
    .catch Ljava/lang/Exception; {:try_start_16 .. :try_end_16} :catch_11

    .line 458
    add-int/lit8 v3, v3, 0x1

    move v4, v5

    goto/16 :goto_b

    .line 505
    :cond_1a
    add-int/lit8 v4, v3, 0x1

    :try_start_17
    aget-byte v3, p0, v3
    :try_end_17
    .catch Ljava/lang/Exception; {:try_start_17 .. :try_end_17} :catch_a

    add-int/lit8 v5, v4, 0x1

    :try_start_18
    aget-byte v4, p0, v4

    invoke-static {v3, v4}, Lcom/adwo/adsdk/X;->a(BB)S

    move-result v3

    .line 506
    new-instance v4, Ljava/lang/String;

    .line 507
    const-string v6, "UTF-8"

    .line 506
    invoke-direct {v4, p0, v5, v3, v6}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V

    .line 508
    sget-object v6, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "packageName "

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 509
    iget-object v6, v0, Lcom/adwo/adsdk/k;->k:Ljava/util/List;

    invoke-interface {v6, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_18
    .catch Ljava/lang/Exception; {:try_start_18 .. :try_end_18} :catch_b

    .line 510
    add-int/2addr v3, v5

    .line 504
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_d

    :catch_7
    move-exception v2

    goto/16 :goto_e

    :catch_8
    move-exception v1

    move v1, v2

    goto/16 :goto_e

    :catch_9
    move-exception v1

    move v1, v3

    goto/16 :goto_e

    :catch_a
    move-exception v1

    move v1, v4

    goto/16 :goto_e

    :catch_b
    move-exception v1

    move v1, v5

    goto/16 :goto_e

    :catch_c
    move-exception v2

    goto/16 :goto_c

    :catch_d
    move-exception v1

    move v1, v2

    goto/16 :goto_c

    :catch_e
    move-exception v1

    move v1, v3

    goto/16 :goto_c

    :catch_f
    move-exception v1

    move v1, v3

    goto/16 :goto_c

    :catch_10
    move-exception v1

    move v1, v4

    goto/16 :goto_c

    :catch_11
    move-exception v1

    move v1, v5

    goto/16 :goto_c

    :catch_12
    move-exception v1

    move v1, v5

    goto/16 :goto_a

    :catch_13
    move-exception v1

    move v1, v4

    goto/16 :goto_a

    :catch_14
    move-exception v1

    move v1, v4

    goto/16 :goto_8

    :catch_15
    move-exception v1

    move v1, v5

    goto/16 :goto_8

    :cond_1b
    move v1, v3

    goto/16 :goto_e

    :cond_1c
    move v1, v2

    goto/16 :goto_e

    :cond_1d
    move v1, v4

    goto/16 :goto_c

    :cond_1e
    move v1, v3

    goto/16 :goto_c

    :cond_1f
    move v1, v2

    goto/16 :goto_c

    :cond_20
    move v1, v3

    goto/16 :goto_a

    :cond_21
    move v1, v2

    goto/16 :goto_a

    :cond_22
    move v1, v3

    goto/16 :goto_8

    :cond_23
    move v1, v2

    goto/16 :goto_8

    :cond_24
    move v1, v2

    goto/16 :goto_5

    :cond_25
    move v1, v2

    goto/16 :goto_4
.end method
